<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');?>
<div class=ipro_title>产品推荐</div>
<div class=ipro>
  <table cellspacing=0 cellpadding=0 width="100%" border=0>
    <tbody>
      <tr>
        <td align=middle>
		<?php 
		  foreach($recommend_product as $row)
		  {
		  ?>
          <blockquote>
            <table cellspacing=0 cellpadding=0 border=0>
              <tbody>
                <tr>
                  <td class=bor align=middle><a href="<?php echo site_url(CTL_FOLDER.'product/detail/'.$row->id);?>" title="<?php echo $row->title;?>"><img src="{tpl_path}images/common/loading.gif" rel="<?php echo get_real_path($row->small_pic_path);?>" alt="<?php echo $row->title;?>" class="loading_160" /></a></td>
                </tr>
                <tr>
                  <td align=middle><a href="<?php echo site_url(CTL_FOLDER.'product/detail/'.$row->id);?>" title="<?php echo $row->title;?>" style="color:<?php echo $row->title_color;?>"><?php echo strcut($row->title,21);?></a></td>
                </tr>
              </tbody>
            </table>
          </blockquote>
          <?php  
		  break;
		  }?>
        </td>
      </tr>
    </tbody>
  </table>
</div>
<script language="javascript">
$(function(){
	$(".loading_160").each(function(){
		LoadImage($(this),$(this).attr("rel"),160);
	});
});
</script>
